//weixin：481171273@qq.com  密码：jlm88097880
//
//qq登陆：481171273@qq.com  tony166868@@@@
//
//其他的账号都是：358563923@qq.com   密码：jlm88097880  【微博、人人、友盟】



#ifndef AirProject_Constant_h
#define AirProject_Constant_h
#pragma mark 通用
#import "LoginResponseModel.h"
#import "BaseTextField.h"
#import "BusinessService.h"
#import "WebViewController.h"
#import "BaseTable.h"
#import "BaseCollection.h"
#import "DTModel.h"
#import "KYExpression.h"
#import "UIImage+KYMultiFormate.h"
#import "zanCell.h"
#import "UIDatePickerView.h"
#import "NSStringAdditions.h"
#import "SVProgressHUD.h"
#import "ECDeviceHeaders.h"
#import "DeviceDelegateHelper.h"
#import "UIImage+wiRoundedRectImage.h"
#import <MAMapKit/MAMapKit.h>
#import <AMapFoundationKit/AMapFoundationKit.h>
#import <AMapSearchKit/AMapSearchKit.h>
#import "SFHFKeychainUtils.h"
#import "BusinessService+User.h"
#import "SVWebViewController.h"
#import "IQKeyboardManager.h"
#import "UIImage+wiRoundedRectImage.h"
#import "ImageUtil.h"
#import "MapViewController.h"
#import "UIAlertViews.h"
#import "ShipingBFView.h"
#import "UIButton+FillColor.h"
//#import <Photos/Photos.h>
#ifdef DEBUG
#define TCDemoLog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__);
#else
#define TCDemoLog(...)
#endif

#define TCDemoLogFunc TCDemoLog(@"%s",__func__)

#import "EmotionInputView.h"
#import "EmojiTextAttachment.h"
#import "NSAttributedString+EmojiExtension.h"


#define  KEY_USERNAME_PASSWORD @"com.company.app.usernamepassword"
#define  KEY_USERNAME @"com.company.app.username"
#define  KEY_PASSWORD @"com.company.app.password"

#define gtiOS8                      ([[UIDevice currentDevice].systemVersion floatValue] >= 8.0)
#define WeakSelf                    __weak typeof(self)weakSelf = self;

//// SDK 服务器
//#define kBaseSDKAPIHost               @"http://yimisns.com"
//#define kBaseSDKAPIDomain             kBaseSDKAPIHost@"/index.php"
//#define kBaseSDKAPIDomainXMPP         @"120.26.217.172"
//#define kBaseSDKAPIDomainXMPPPort     5222
//#define kBaseSDKAPIDomainXMPPServer   @"iz23tl150raz"

// SDK 服务器
#define kBaseSDKAPIHost               @"http://yimisns.com/"
#define kBaseSDKAPIDomain             kBaseSDKAPIHost@"/index.php"
#define kBaseSDKAPIDomainXMPP         @"120.26.217.172"
#define kBaseSDKAPIDomainXMPPPort     5222
#define kBaseSDKAPIDomainXMPPServer   @"iz23tl150raz"

#define API_URL @"http://yimisns.com/index.php"
//图片路径
#define img_Url @"http://yimisns.com"

#define KEY @"7576af2fadd78e515eab69043aeabed5"

#define userprotocolurl [NSString stringWithFormat:@"%@/Home/index/htmlcontent?key=userprotocol", API_URL]
#define guihuanurl [NSString stringWithFormat:@"%@/Home/index/htmlcontent?key=guihuan", API_URL]
#define memberprotocolurl [NSString stringWithFormat:@"%@/Home/index/htmlcontent?key=memberprotocol", API_URL]
#define shouyiurl [NSString stringWithFormat:@"%@/Home/index/htmlcontent?key=shouyi", API_URL]
#define updatewifiurl [NSString stringWithFormat:@"%@/User/Api/updatewifi", API_URL]



#pragma mark 群
#define gdetailurl [NSString stringWithFormat:@"%@/session/api/detail", API_URL]
#define gediturl [NSString stringWithFormat:@"%@/session/api/edit", API_URL]
#define gdeleteurl [NSString stringWithFormat:@"%@/session/api/delete", API_URL]
#define editNicknameurl [NSString stringWithFormat:@"%@/session/api/editNickname", API_URL]
#define getmsgurl [NSString stringWithFormat:@"%@/session/api/getmsg", API_URL]
#define quiturl [NSString stringWithFormat:@"%@/session/api/quit", API_URL]
#define removeurl [NSString stringWithFormat:@"%@/session/api/remove", API_URL]
#define contactListurl [NSString stringWithFormat:@"%@/session/api/contactList", API_URL]
#define addUserToSessionurl [NSString stringWithFormat:@"%@/session/api/addUserToSession", API_URL]
#define gaddurl [NSString stringWithFormat:@"%@/session/api/add", API_URL]




#pragma mark 登录
#define LOGIN_ACTION [NSString stringWithFormat:@"%@/User/api/login", API_URL]
#define REGISTE_URL [NSString stringWithFormat:@"%@/User/api/regist", API_URL]
#define findPwd_URL [NSString stringWithFormat:@"%@/user/api/findPassword", API_URL]
#define GET_CODE_URL [NSString stringWithFormat:@"%@/User/api/getCode", API_URL]
#define hometownlist [NSString stringWithFormat:@"%@/User/api/hometownlist", API_URL]
#define joblist [NSString stringWithFormat:@"%@/User/api/joblist", API_URL]
#define completeInfo [NSString stringWithFormat:@"%@/User/api/completeInfo", API_URL]
#define detailurl [NSString stringWithFormat:@"%@/User/api/detail", API_URL]
#define thirdLoginurl [NSString stringWithFormat:@"%@/user/api/thirdLogin", API_URL]
#define setRemarkurl [NSString stringWithFormat:@"%@/user/api/setRemark", API_URL]
#define setYinsi_typeurl [NSString stringWithFormat:@"%@/user/api/setYinsi_type", API_URL]
#define msg_settingurl [NSString stringWithFormat:@"%@/User/Api/msg_setting", API_URL]
#define setUserOtherConfigurl [NSString stringWithFormat:@"%@/User/Api/setUserOtherConfig", API_URL]

#define setUserWuraourl [NSString stringWithFormat:@"%@/User/Api/setUserWurao", API_URL]



#pragma mark 附近
//广告列表 type 0-附近广告 1-我中的商品广告 2-动态广告
#define GETADLIST [NSString stringWithFormat:@"%@/User/Api/adv_list", API_URL]
#define nearbyurl [NSString stringWithFormat:@"%@/User/api/nearby", API_URL]
#define kuaipai_listurl [NSString stringWithFormat:@"%@/User/Api/kuaipai_list", API_URL]
#define kuaipai_detailurl [NSString stringWithFormat:@"%@/user/api/kuaipai_detail", API_URL]

#define kuaipai_deleturl [NSString stringWithFormat:@"%@/User/api/delete_kuaipai", API_URL]

#define kuaipai_automeetingurl [NSString stringWithFormat:@"%@/User/Api/kuaipai_automeeting", API_URL]
#define kuaipai_endMeetingurl [NSString stringWithFormat:@"%@/user/api/kuaipai_endMeeting", API_URL]
#define service_category_listurl [NSString stringWithFormat:@"%@/User/Api/service_category_list", API_URL]
#define service_listurl [NSString stringWithFormat:@"%@/User/Api/service_list", API_URL]
#define service_search_listurl [NSString stringWithFormat:@"%@/User/Api/service_search_list", API_URL]
#define changjing_nearby_personsurl [NSString stringWithFormat:@"%@/User/Api/changjing_nearby_persons", API_URL]
#define sharerecordurl [NSString stringWithFormat:@"%@/User/Api/sharerecord", API_URL]
#define netcollecturl [NSString stringWithFormat:@"%@/User/Api/netcollect", API_URL]

#define sharepageurl [NSString stringWithFormat:@"%@/User/Api/sharepage", API_URL]




#pragma mark 我的
#define dynamic_guest [NSString stringWithFormat:@"%@/User/Api/dynamic_guest", API_URL]
#define delete_dynamic [NSString stringWithFormat:@"%@/User/Api/delete_dynamic", API_URL]
#define delAlipayAccounturl [NSString stringWithFormat:@"%@/User/api/delAlipayAccount", API_URL]
#define setAlipayAccounturl [NSString stringWithFormat:@"%@/User/api/setAlipayAccount", API_URL]
#define setAutoBuyMemberurl [NSString stringWithFormat:@"%@/User/api/setAutoBuyMember", API_URL]
#define incomeurl [NSString stringWithFormat:@"%@/User/api/income", API_URL]
#define income_sorturl [NSString stringWithFormat:@"%@/User/api/income_sort", API_URL]
#define share_statisticsurl [NSString stringWithFormat:@"%@/User/api/share_statistics", API_URL]
#define dynaimc_statisticsurl [NSString stringWithFormat:@"%@/User/api/dynaimc_statistics", API_URL]
#define kuaipai_statisticsurl [NSString stringWithFormat:@"%@/User/api/kuaipai_statistics",API_URL]
#define jubao_statisticsurl [NSString stringWithFormat:@"%@/User/api/jubao_statistics", API_URL]
#define award_dakaurl [NSString stringWithFormat:@"%@/User/api/award_daka", API_URL]
#define withdrawurl [NSString stringWithFormat:@"%@/User/api/withdraw", API_URL]
#define shoudaourl [NSString stringWithFormat:@"%@/User/api/my_receive_hongbao", API_URL]
#define fachuurl [NSString stringWithFormat:@"%@/User/api/my_publish_hongbao", API_URL]
#define consume_listurl [NSString stringWithFormat:@"%@/User/api/consume_list", API_URL]
#define member_feeurl [NSString stringWithFormat:@"%@/User/api/member_fee", API_URL]
#define yinshenurl [NSString stringWithFormat:@"%@/User/api/yinshen", API_URL]
#define yinshen_listurl [NSString stringWithFormat:@"%@/User/api/yinshen_list", API_URL]
#define modifypassurl [NSString stringWithFormat:@"%@/User/api/modifypass", API_URL]
#define blackListurl [NSString stringWithFormat:@"%@/user/api/blackList", API_URL]
#define blackurl [NSString stringWithFormat:@"%@/user/api/black", API_URL]
#define importContacturl [NSString stringWithFormat:@"%@/user/api/importContact", API_URL]
#define feedbackurl [NSString stringWithFormat:@"%@/User/api/feedback", API_URL]
#define dakalistsurl [NSString stringWithFormat:@"%@/user/api/dakalists", API_URL]
#define addDakaurl [NSString stringWithFormat:@"%@/user/api/addDaka", API_URL]
#define memberCenterurl [NSString stringWithFormat:@"%@/User/Api/memberCenter", API_URL]
#define recommendListurl [NSString stringWithFormat:@"%@/user/Api/recommendList", API_URL]
#define jubao_listurl [NSString stringWithFormat:@"%@/user/api/jubao_list", API_URL]
#define jubaourl [NSString stringWithFormat:@"%@/user/api/jubao", API_URL]
#define xingzuoListsurl [NSString stringWithFormat:@"%@/User/Api/xingzuoLists", API_URL]
#define publish_kuaipaiurl [NSString stringWithFormat:@"%@/user/api/publish_kuaipai", API_URL]
#define recharegeurl [NSString stringWithFormat:@"%@/User/Api/recharege", API_URL]
#define dynamic_unread_listurl [NSString stringWithFormat:@"%@/User/Api/dynamic_unread_list", API_URL]
#define bindSafePhoneurl [NSString stringWithFormat:@"%@/User/Api/bindSafePhone", API_URL]
#define close_safe_loginurl [NSString stringWithFormat:@"%@/User/Api/close_safe_login", API_URL]
#define bindAccounturl [NSString stringWithFormat:@"%@/User/Api/bindAccount", API_URL]
#define thirdfriendurl [NSString stringWithFormat:@"%@/User/Api/thirdfriend", API_URL]
#define haomaurl [NSString stringWithFormat:@"%@/User/Api/haoma", API_URL]

#define addAlbumUrl [NSString stringWithFormat:@"%@/User/Api/add_album", API_URL]
#define deleteAlbumUrl [NSString stringWithFormat:@"%@/User/Api/album_delete", API_URL]


#pragma mark 动态
//xhw2018-2-7加
#define dynamic_unreadnum [NSString stringWithFormat:@"%@/User/Api/dynamic_unreadnum", API_URL]
#define dynamic_friend [NSString stringWithFormat:@"%@/User/Api/dynamic_nearby", API_URL]
#define publish_dynamicurl [NSString stringWithFormat:@"%@/user/api/publish_dynamic", API_URL]
#define dynamic_listurl [NSString stringWithFormat:@"%@/User/Api/dynamic_list", API_URL]
#define dynamiccommenturl [NSString stringWithFormat:@"%@/User/Api/dynamiccomment", API_URL]
#define dynamiczanurl [NSString stringWithFormat:@"%@/User/Api/dynamiczan", API_URL]
#define dynamic_friendurl [NSString stringWithFormat:@"%@/User/Api/dynamic_friend", API_URL]
#define album_listurl [NSString stringWithFormat:@"%@/User/Api/album_list", API_URL]
#define followurl [NSString stringWithFormat:@"%@/User/api/follow", API_URL]
#define enterGroupurl [NSString stringWithFormat:@"%@/User/Api/enterGroup", API_URL]
#define lastUserHeadsurl [NSString stringWithFormat:@"%@/User/Api/lastUserHeads", API_URL]


#pragma mark 消息
#define dynamic_detailurl [NSString stringWithFormat:@"%@/User/Api/dynamic_detail", API_URL]
#define dynamic_listurl [NSString stringWithFormat:@"%@/User/Api/dynamic_list", API_URL]
#define friendlisturl [NSString stringWithFormat:@"%@/User/Api/friendlist", API_URL]
#define myfollowurl [NSString stringWithFormat:@"%@/User/Api/myfollow", API_URL]
#define addqunliaourl [NSString stringWithFormat:@"%@/session/api/add", API_URL]
#define sessionListsurl [NSString stringWithFormat:@"%@/session/api/sessionLists", API_URL]
#define kuaipai_zanurl [NSString stringWithFormat:@"%@/User/Api/kuaipai_zan", API_URL]
#define kuaipai_admin_settingurl [NSString stringWithFormat:@"%@/User/Api/kuaipai_admin_setting", API_URL]
#define posshare_enterGroupurl [NSString stringWithFormat:@"%@/User/Api/posshare_enterGroup", API_URL]
#define posshare_lastUserHeadsurl [NSString stringWithFormat:@"%@/User/Api/posshare_lastUserHeads", API_URL]
#define posshare_quitGroupurl [NSString stringWithFormat:@"%@/User/Api/posshare_quitGroup", API_URL]
#define searchurl [NSString stringWithFormat:@"%@/user/api/search", API_URL]




#pragma mark 红包
#define publish_hongbaoURL [NSString stringWithFormat:@"%@/User/Api/publish_hongbao", API_URL]
#define giveMoneyurl [NSString stringWithFormat:@"%@/user/api/giveMoney", API_URL]
#define qiang_hongbaourl [NSString stringWithFormat:@"%@/User/Api/qiang_hongbao", API_URL]
#define hongbao_recordurl [NSString stringWithFormat:@"%@/User/Api/hongbao_record", API_URL]
#define has_qianghongbaourl [NSString stringWithFormat:@"%@/User/Api/has_qianghongbao", API_URL]


#define REQUEST_MAX_TIMEOUT 10

#define LEVEL_ 99

#define POST_METHOD @"POST"

#define GET_METHOD @"GET"

#define PUT_METHOD @"PUT"




#endif
